package com.fh.entity.map.service;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.fh.dao.DaoSupport;
import com.fh.entity.Page;
import com.fh.entity.map.Province;
import com.fh.util.PageData;

@Service("provinceService")
public class ProvinceService {
	
	@Resource(name = "daoSupport")
	private DaoSupport dao;
	
	/*
	* 通过id获取数据
	*/
	public List<Province> listProvince(PageData pd)throws Exception{
		return (List<Province>) dao.findForList("ProvinceMapper.getProvince", pd);
	}
}
